home *** CD-ROM | disk | FTP | other *** search
/ Clickx 96 / Clickx 96.iso / software / tools / tool / xbmc-10.1.exe / system / keymaps / joystick.PS3.Remote.Keyboard.xml < prev    next >
Encoding:
Text File  |  2011-03-08  |  12.5 KB  |  335 lines

  1. <!-- This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC -->
  2. <!-- The <global> section is a fall through - they will only be used if the button is not          -->
  3. <!-- used in the current window's section.  Note that there is only handling                       -->
  4. <!-- for a single action per button at this stage.                                                 -->
  5. <!-- For joystick/gamepad configuration under linux/win32, see below as it differs from xbox       -->
  6. <!-- gamepads.                                                                                     -->
  7.  
  8. <!-- The format is:                      -->
  9. <!--    <device>                         -->
  10. <!--      <button>action</button>        -->
  11. <!--    </device>                        -->
  12.  
  13. <!-- To map keys from other remotes using the RCA protocol, you may add <universalremote> blocks -->
  14. <!-- In this case, the tags used are <obc#> where # is the original button code (OBC) of the key -->
  15. <!-- You set it up by adding a <universalremote> block to the window or <global> section:       -->
  16. <!--    <universalremote>             -->
  17. <!--       <obc45>Stop</obc45>         -->
  18. <!--    </universalremote>            -->
  19.  
  20. <!-- Note that the action can be a built-in function.                 -->
  21. <!--  eg <B>XBMC.ActivateWindow(MyMusic)</B>                         -->
  22. <!-- would automatically go to My Music on the press of the B button. -->
  23.  
  24. <!-- Joysticks / Gamepads:                                                                    -->
  25. <!--   See the sample PS3 controller configuration below for the format.                      -->
  26. <!--                                                                                          -->
  27. <!--  Joystick Name:                                                                          -->
  28. <!--   Do 'cat /proc/bus/input/devices' or see your xbmc log file  to find the names of       -->
  29. <!--   detected joysticks. The name used in the configuration should match the detected name. -->
  30. <!--                                                                                          -->
  31. <!--  Button Ids:                                                                             -->
  32. <!--   'id' is the button ID used by SDL. Joystick button ids of connected joysticks appear   -->
  33. <!--   in xbmc.log when they are pressed. Use your log to map custom buttons to actions.      -->
  34. <!--                                                                                          -->
  35. <!--  Axis Ids / Analog Controls                                                              -->
  36. <!--   Coming soon.                                                                           -->
  37. <keymap>
  38.   <global>
  39.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  40.       <altname>PS3 Remote Keyboard</altname>
  41.       <altname>MoSart PS3 Remote Keyboard</altname>
  42.       <button id="1">Info</button>
  43.       <button id="2">Select</button>
  44.       <button id="3">ParentDir</button>
  45.       <button id="4">ContextMenu</button>
  46.       <button id="5">SkipPrevious</button>
  47.       <button id="6">SkipNext</button>
  48.       <button id="9">Select</button>
  49.       <button id="10">FullScreen</button>
  50.       <button id="12">VolumeUp</button>
  51.       <button id="11">VolumeDown</button>
  52.       <button id="13">XBMC.ActivateWindow(Home)</button>
  53.       <hat    id="1" position="left">Left</hat>
  54.       <hat    id="1" position="right">Right</hat>
  55.       <hat    id="1" position="up">Up</hat>
  56.       <hat    id="1" position="down">Down</hat>
  57.       <axis limit="+1" id="4">VolumeDown</axis>
  58.       <axis limit="-1" id="4">VolumeUp</axis>
  59.       <axis limit="+1" id="1">AnalogSeekForward</axis>
  60.       <axis limit="-1" id="1">AnalogSeekBack</axis>
  61.       <axis limit="+1" id="13">ScrollUp</axis>
  62.       <axis limit="+1" id="14">ScrollDown</axis>
  63.     </joystick>
  64.   </global>
  65.   
  66.   <Visualisation>
  67.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  68.       <altname>PS3 Remote Keyboard</altname>
  69.       <altname>MoSart PS3 Remote Keyboard</altname>
  70.       <button id="4">XBMC.ActivateWindow(MusicOSD)</button>
  71.       <button id="1">Info</button>
  72.       <button id="2">Play</button>
  73.       <button id="3">Stop</button>
  74.       <hat    id="1" position="left">SkipPrevious</hat>
  75.       <hat    id="1" position="right">SkipNext</hat>
  76.       <hat    id="1" position="up">IncreaseRating</hat>
  77.       <hat    id="1" position="down">DecreaseRating</hat>
  78.     </joystick>
  79.   </Visualisation>
  80.   
  81.   <MusicOSD>
  82.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  83.       <altname>PS3 Remote Keyboard</altname>
  84.       <altname>MoSart PS3 Remote Keyboard</altname>
  85.       <button id="4">Close</button>
  86.       <button id="3">Close</button>
  87.     </joystick>
  88.   </MusicOSD>
  89.  
  90.   <FullscreenInfo>
  91.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  92.       <altname>PS3 Remote Keyboard</altname>
  93.       <altname>MoSart PS3 Remote Keyboard</altname>
  94.       <button id="3">Close</button>
  95.     </joystick>
  96.   </FullscreenInfo>
  97.   
  98.   <FullscreenVideo>
  99.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  100.       <altname>PS3 Remote Keyboard</altname>
  101.       <altname>MoSart PS3 Remote Keyboard</altname>
  102.       <button id="2">Play</button>
  103.       <button id="3">Stop</button>
  104.       <button id="4">OSD</button>
  105.       <button id="7">Rewind</button>
  106.       <button id="8">FastForward</button>
  107.       <hat    id="1" position="left">StepBack</hat>
  108.       <hat    id="1" position="right">StepForward</hat>
  109.       <hat    id="1" position="up">BigStepForward</hat>
  110.       <hat    id="1" position="down">BigStepBack</hat>
  111.     </joystick>
  112.   </FullscreenVideo>
  113.   
  114.   <VideoOSD>
  115.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  116.       <altname>PS3 Remote Keyboard</altname>
  117.       <altname>MoSart PS3 Remote Keyboard</altname>
  118.       <button id="1">Info</button>
  119.       <button id="3">Close</button>
  120.       <button id="4">OSD</button>
  121.     </joystick>
  122.   </VideoOSD>
  123.   
  124.    <OSDVideoSettings>
  125.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  126.       <altname>PS3 Remote Keyboard</altname>
  127.       <altname>MoSart PS3 Remote Keyboard</altname>
  128.       <button id="3">Close</button>
  129.     </joystick>
  130.   </OSDVideoSettings>
  131.   
  132.   <OSDAudioSettings>
  133.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  134.       <altname>PS3 Remote Keyboard</altname>
  135.       <altname>MoSart PS3 Remote Keyboard</altname>
  136.       <button id="3">Close</button>
  137.     </joystick>
  138.   </OSDAudioSettings>
  139.   
  140.   <ContextMenu>
  141.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  142.       <altname>PS3 Remote Keyboard</altname>
  143.       <altname>MoSart PS3 Remote Keyboard</altname>
  144.       <button id="3">Close</button>
  145.     </joystick>
  146.   </ContextMenu>
  147.  
  148.   <shutdownmenu>
  149.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  150.       <altname>PS3 Remote Keyboard</altname>
  151.       <altname>MoSart PS3 Remote Keyboard</altname>
  152.       <button id="3">PreviousMenu</button>
  153.     </joystick>
  154.   </shutdownmenu>
  155.   
  156.   <submenu>
  157.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  158.       <altname>PS3 Remote Keyboard</altname>
  159.       <altname>MoSart PS3 Remote Keyboard</altname>
  160.       <button id="3">PreviousMenu</button>
  161.     </joystick>
  162.   </submenu>
  163.  
  164.     <Settings>
  165.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  166.       <altname>PS3 Remote Keyboard</altname>
  167.       <altname>MoSart PS3 Remote Keyboard</altname>
  168.       <button id="3">PreviousMenu</button>
  169.     </joystick>
  170.   </Settings>
  171.  
  172.   <AddonInformation>
  173.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  174.       <altname>PS3 Remote Keyboard</altname>
  175.       <altname>MoSart PS3 Remote Keyboard</altname>
  176.       <button id="3">Close</button>
  177.     </joystick>
  178.   </AddonInformation>
  179.  
  180.   <AddonSettings>
  181.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  182.       <altname>PS3 Remote Keyboard</altname>
  183.       <altname>MoSart PS3 Remote Keyboard</altname>
  184.       <button id="3">Close</button>
  185.     </joystick>
  186.   </AddonSettings>
  187.  
  188.   <TextViewer>
  189.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  190.       <altname>PS3 Remote Keyboard</altname>
  191.       <altname>MoSart PS3 Remote Keyboard</altname>
  192.       <button id="3">Close</button>
  193.     </joystick>
  194.   </TextViewer>
  195.  
  196.   <MyPicturesSettings>
  197.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  198.       <altname>PS3 Remote Keyboard</altname>
  199.       <altname>MoSart PS3 Remote Keyboard</altname>
  200.       <button id="3">PreviousMenu</button>
  201.     </joystick>
  202.   </MyPicturesSettings>
  203.  
  204.   <MyProgramsSettings>
  205.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  206.       <altname>PS3 Remote Keyboard</altname>
  207.       <altname>MoSart PS3 Remote Keyboard</altname>
  208.       <button id="3">PreviousMenu</button>
  209.     </joystick>
  210.   </MyProgramsSettings>
  211.  
  212.   <MyWeatherSettings>
  213.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  214.       <altname>PS3 Remote Keyboard</altname>
  215.       <altname>MoSart PS3 Remote Keyboard</altname>
  216.       <button id="3">PreviousMenu</button>
  217.     </joystick>
  218.   </MyWeatherSettings>
  219.  
  220.   <MyMusicSettings>
  221.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  222.       <altname>PS3 Remote Keyboard</altname>
  223.       <altname>MoSart PS3 Remote Keyboard</altname>
  224.       <button id="3">PreviousMenu</button>
  225.     </joystick>
  226.   </MyMusicSettings>
  227.  
  228.   <SystemSettings>
  229.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  230.       <altname>PS3 Remote Keyboard</altname>
  231.       <altname>MoSart PS3 Remote Keyboard</altname>
  232.       <button id="3">PreviousMenu</button>
  233.     </joystick>
  234.   </SystemSettings>
  235.  
  236.   <MyVideosSettings>
  237.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  238.       <altname>PS3 Remote Keyboard</altname>
  239.       <altname>MoSart PS3 Remote Keyboard</altname>
  240.       <button id="3">PreviousMenu</button>
  241.     </joystick>
  242.   </MyVideosSettings>
  243.  
  244.   <NetworkSettings>
  245.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  246.       <altname>PS3 Remote Keyboard</altname>
  247.       <altname>MoSart PS3 Remote Keyboard</altname>
  248.       <button id="3">PreviousMenu</button>
  249.     </joystick>
  250.   </NetworkSettings>
  251.  
  252.   <AppearanceSettings>
  253.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  254.       <altname>PS3 Remote Keyboard</altname>
  255.       <altname>MoSart PS3 Remote Keyboard</altname>
  256.       <button id="32">PreviousMenu</button>
  257.     </joystick>
  258.   </AppearanceSettings>
  259.  
  260.   <Profiles>
  261.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  262.       <altname>PS3 Remote Keyboard</altname>
  263.       <altname>MoSart PS3 Remote Keyboard</altname>
  264.       <button id="3">PreviousMenu</button>
  265.     </joystick>
  266.   </Profiles>
  267.  
  268.   <systeminfo>
  269.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  270.       <altname>PS3 Remote Keyboard</altname>
  271.       <altname>MoSart PS3 Remote Keyboard</altname>
  272.       <button id="3">PreviousMenu</button>
  273.     </joystick>
  274.   </systeminfo>
  275.  
  276.   <MusicInformation>
  277.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  278.       <altname>PS3 Remote Keyboard</altname>
  279.       <altname>MoSart PS3 Remote Keyboard</altname>
  280.       <button id="3">Close</button>
  281.     </joystick>
  282.   </MusicInformation>
  283.  
  284.   <MovieInformation>
  285.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  286.       <altname>PS3 Remote Keyboard</altname>
  287.       <altname>MoSart PS3 Remote Keyboard</altname>
  288.       <button id="3">Close</button>
  289.     </joystick>
  290.   </MovieInformation>
  291.  
  292.   <LockSettings>
  293.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  294.       <altname>PS3 Remote Keyboard</altname>
  295.       <altname>MoSart PS3 Remote Keyboard</altname>
  296.       <button id="3">PreviousMenu</button>
  297.     </joystick>
  298.   </LockSettings>
  299.  
  300.   <ProfileSettings>
  301.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  302.       <altname>PS3 Remote Keyboard</altname>
  303.       <altname>MoSart PS3 Remote Keyboard</altname>
  304.       <button id="3">PreviousMenu</button>
  305.     </joystick>
  306.   </ProfileSettings>
  307.  
  308.   <PictureInfo>
  309.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  310.       <altname>PS3 Remote Keyboard</altname>
  311.       <altname>MoSart PS3 Remote Keyboard</altname>
  312.       <button id="3">Close</button>
  313.       <hat    id="1" position="left">PreviousPicture</hat>
  314.       <hat    id="1" position="right">NextPicture</hat>
  315.     </joystick>
  316.   </PictureInfo>
  317.  
  318.   <FullscreenInfo>
  319.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  320.       <altname>PS3 Remote Keyboard</altname>
  321.       <altname>MoSart PS3 Remote Keyboard</altname>
  322.       <button id="1">Close</button>
  323.       <button id="4">OSD</button>
  324.     </joystick>
  325.   </FullscreenInfo>
  326.  
  327.   <NumericInput>
  328.     <joystick name="PLAYSTATION(R)3 Remote Keyboard">
  329.       <altname>PS3 Remote Keyboard</altname>
  330.       <altname>MoSart PS3 Remote Keyboard</altname>
  331.       <button id="3">Close</button>
  332.     </joystick>
  333.   </NumericInput>
  334. </keymap>
  335.